package com.li.manage.service;

import java.util.List;

import com.li.manage.model.Role;
import com.li.manage.query.RoleQuery;

public interface RoleService {

	List<Role> getRoleList(RoleQuery roleQuery);

	Role getRoleByCode(String code);

	String getMaxCode();

	void addRole(Role role);

	void updateRoleByCode(Role role);

	void deleteRoleByCode(String code);

}
